package org.example.controller;

import org.example.common.RestMap;
import org.example.common.RestMapUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/say")
    public RestMap say(){
        return RestMapUtils.success("say hello world");
    }
}
